import React, { Component } from 'react'

export default class Son extends Component {


  render() {
    console.log("this.props.children",this.props.children);
    return (
      <div>
        <h1>子组件</h1>
        <p>{this.props.children}</p>
        <p>{this.props.leftContent}</p>
      </div>
    )
  }
}
